Skip to content

Add disable channel argument cases for subtitle and data streams - #609

Merged
rosenbjerg merged 2 commits into
rosenbjerg:mainfrom
RudyTheDev:disable-channel-addition
Sep 20, 2026
Merged

rosenbjerg merged 2 commits into
rosenbjerg:mainfrom
RudyTheDev:disable-channel-addition

Conversation

@RudyTheDev

Copy link
Copy Markdown
Contributor

I noticed that .DisableChannel(Channel.Subtitle) and .DisableChannel(Channel.Data) don't actually do anything even though ffmpeg has the corresponding -sn and -dn options. This PR adds these two. It also catches all the other enum's cases so this doesn't just silently fail if the user does something that is not allowed or supported.

@codecov-commenter

codecov-commenter commented Dec 20, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.97%. Comparing base (c3bdb25) to head (1f076c5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #609      +/-   ##
==========================================
+ Coverage   88.86%   88.97%   +0.11%     
==========================================
  Files         130      130              
  Lines        3564     3575      +11     
  Branches      314      317       +3     
==========================================
+ Hits         3167     3181      +14     
+ Misses        301      299       -2     
+ Partials       96       95       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rosenbjerg
rosenbjerg merged commit 8e693fb into rosenbjerg:main Sep 20, 2026
5 checks passed
@rosenbjerg

Copy link
Copy Markdown
Owner

Nice, thanks for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants